//
//  NNEditResultController.swift
//  CommonTool
//
//  Created by tenroadshow on 28.3.22.
//

import Foundation
import UIKit


class NNEditResultController: NNBaseViewController {
    
    lazy var imgView1: UIImageView = {
        let imgView = UIImageView()
        return imgView
    }()
    
    lazy var imgView2: UIImageView = {
        let imgView = UIImageView()
        return imgView
    }()

    
    convenience init(image1: UIImage, image2: UIImage) {
        self.init()
        self.imgView1.image = image1
        self.imgView2.image = image2
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        
        view.addSubviews(childs: [imgView1, imgView2])
        
        imgView1.snp.makeConstraints { make in
            make.top.equalToSuperview().offset(10)
            make.left.right.equalToSuperview()
        }
        imgView2.snp.makeConstraints { make in
            make.top.equalTo(imgView1.snp.bottom).offset(10)
            make.left.right.equalToSuperview()
        }
    }
}
